]> dgit.raspbian.org Git - libde265.git/commit
CVE-2026-54240, CVE-2026-54241: fix pixel-accessor integer overflow
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Sun, 20 Sep 2026 11:47:08 +0000 (13:47 +0200)
committerTobias Frost <tobi@debian.org>
Sun, 20 Sep 2026 11:47:08 +0000 (13:47 +0200)
commit5370eb6e5aad543f60048c4132bb44764968390b
treeaab6555b54d39a6d4df829e22cf64117a8f8ef99
parent18f08ce62e1d2260433935c43f3f605746079c68
CVE-2026-54240, CVE-2026-54241: fix pixel-accessor integer overflow

Origin: upstream, https://github.com/strukturag/libde265/commit/bdca87569b9c63c2a7054d90ae4462dbb78d159a
Bug: https://github.com/strukturag/libde265/security/advisories/GHSA-ccfw-29x7-rrx3
Bug: https://github.com/strukturag/libde265/security/advisories/GHSA-j2qq-x2xq-g9wr
Applied-Upstream: 1.1.1

The image pixel accessors computed xpos + ypos*stride in signed 32-bit
arithmetic; frames with width*height > INT32_MAX wrap the offset and the
returned pointer lands far outside the buffer (OOB read/write). Widen
stride/offset math to 64 bits and store validated SPS dimensions in
uint16_t.

Gbp-Pq: Name CVE-2026-54240_CVE-2026-54241.patch
libde265/de265.cc
libde265/image-io.cc
libde265/image.cc
libde265/image.h
libde265/intrapred.h
libde265/motion.cc
libde265/sao.cc
libde265/sei.cc
libde265/sps.cc
libde265/sps.h